﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.Sockets.models
{
    /// <summary>
    /// 客户端事件
    /// </summary>
    public class TcpClientEventArgs : EventArgs
    {
        /// <summary>
        /// TcpClientState
        /// </summary>
        public TcpClientState State { get; }

        /// <summary>
        /// 构造
        /// </summary>
        /// <param name="state"></param>
        public TcpClientEventArgs(TcpClientState state)
        {
            this.State = state;
        }
    }
}
